<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>系统事件</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="飞啊飘啊">
	<meta name="hashcode" content="403383011">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<script type="text/javascript" src="/admin/js/jquery-ui-1.10.2.custom.min.js"></script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "403383011";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/admin/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("event.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		document.title={
  			 "insert":"创建系统事件"
  			,"inport":"导入系统事件"
  			,"update":"修改系统事件"
  			,"detail":"系统事件详情"
  		}[options.edittype];
  		THIS.setData(protocol.data); 
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>
<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#eventForm").form({
		"":function(){}
		,"srvEvent.seId":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"srvEvent.seContent":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "事件内容不能为空";
			}
			if(el.value.length>256 && el.value.indexOf("[*]")==-1)
				return "事件内容最大长度为256个字符";
		}
		,"srvEvent.seType":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"srvEvent.seDataId":function(el){
		}
		,"srvEvent.seUrl":function(el){
			if(el.value.length>128 && el.value.indexOf("[*]")==-1)
				return "处理地址最大长度为128个字符";
		}
		,"srvEvent.seUser":function(el){
		}
		,"srvEvent.seUpdateTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "修改时间不能为空";
			}
		}
		,"srvEvent.seAddTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"srvEvent.seStatus":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>

<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>


<form enctype="{{inports!=null?'multipart/form-data':''}}" lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'||edittype=='inport'}}" class="form editform edittype_{{edittype}}" ref="SrvEvent" id="eventForm" name="eventForm" target="jsoniframe" action="event.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写系统事件相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
			
			<lz:block lz:if="{{inports}}">
			  <div class="line"></div>
			  <dl style="width:98%;">
			  	<dt>Excel文件:</dt>
			  	<dd>
			  		<input type="hidden" value="{{inports}}" name="inports" id="inports" />
			  		<input type="hidden" value="{{inport$}}" name="inport$" id="inport$" />
			  		<input name="file" name="file" type="file"/>
			  		<b>*</b>
			  		<div>
						请上传excel文件，表格列依次为：[{{inport$}}]，excel表格第一行为列名称，将不作为上传数据行
					</div>
			  	</dd>
			  </dl>
			  <div class="line"></div>
			</lz:block>
	{{lz.set("seId_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seId"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"seId"))))}}
	{{lz.set("seId_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seId}}
	<dl lz:if="{{seId_editable||seId_readonly}}" class="seId hidden " major  ref="seId">
		<dt>编　　号:</dt>
		<dd lz:if="{{seId_editable}}" input="hidden">
			<lz:block lz:if="{{srvEvent$seId}}">
				{{srvEvent$seId}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seId}}">
			<input type="hidden" value="{{lz.htm(srvEvent.seId)}}" name="srvEvent.seId" id="seId" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seId_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="seId">{{srvEvent.seId}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEvent.seId$||srvEvent.seId)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seId}}
	{{lz.set("seContent_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seContent"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"seContent"))))}}
	{{lz.set("seContent_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seContent}}
	<dl lz:if="{{seContent_editable||seContent_readonly}}" class="seContent   wider" major  ref="seContent">
		<dt>事件内容:</dt>
		<dd lz:if="{{seContent_editable}}" input="textarea">
			<lz:block lz:if="{{srvEvent$seContent}}">
				{{srvEvent$seContent}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seContent}}">
		 	<textarea class="input wide"  id="seContent" name="srvEvent.seContent" rows="5">{{srvEvent.seContent}}</textarea>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入系统事件的事件内容</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seContent_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(srvEvent.seContent$||srvEvent.seContent)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seContent}}
	{{lz.set("seType_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seType"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"seType"))))}}
	{{lz.set("seType_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seType}}
	<dl lz:if="{{seType_editable||seType_readonly}}" class="seType  " major  ref="seType">
		<dt>事件类型:</dt>
		<dd lz:if="{{seType_editable}}" input="query">
			<lz:block lz:if="{{srvEvent$seType}}">
				{{srvEvent$seType}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seType}}">
		 			<input title="请输入事件类型类型名称进行查询" class="combox narrow" action="/admin/systematic/eventtype.query.do?value={param}" type="text" id="seType" name="srvEvent.seType" text="{{lz.html(srvEvent.seType$||srvEvent.seType)}}" value="{{lz.htm(srvEvent.seType)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#seType').val())==''){return;};window.href('/admin/systematic/eventtype.detail.html?key='+$('#seType').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seType_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="seType">{{srvEvent.seType}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/systematic/eventtype.details.html?key=srvEvent.seType}')">
			 {{lz.html(srvEvent.seType$||srvEvent.seType)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seType}}
	{{lz.set("seDataId_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seDataId"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"seDataId"))))}}
	{{lz.set("seDataId_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seDataId}}
	<dl lz:if="{{seDataId_editable||seDataId_readonly}}" class="ribs seDataId  " major  ref="seDataId">
		<dt>数据标识:</dt>
		<dd lz:if="{{seDataId_editable}}" input="generic">
			<lz:block lz:if="{{srvEvent$seDataId}}">
				{{srvEvent$seDataId}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seDataId}}">
		 	<input title="请输入动态查询" class="combox narrow" generic="seDataIdGeneric" size="16" type="text" id="seDataId" name="srvEvent.seDataId" text="{{lz.html(srvEvent.seDataId$||srvEvent.seDataId)}}" value="{{lz.htm(srvEvent.seDataId)}}"/>
		 	<select id="seDataIdGeneric" style="display:none;">
		 		<option value="">--选择模块--</option>
		 		<option lz:for="{{seDataId$items}}" value="{{item.key}}" selected="{{seDataId==item.key?'selected':''}}">{{item.value}}</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seDataId_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="seDataId">{{srvEvent.seDataId}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEvent.seDataId$||srvEvent.seDataId)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seDataId}}
	{{lz.set("seUrl_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seUrl"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"seUrl"))))}}
	{{lz.set("seUrl_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seUrl}}
	<dl lz:if="{{seUrl_editable||seUrl_readonly}}" class="ribs seUrl   mider" minor  ref="seUrl">
		<dt>处理地址:</dt>
		<dd lz:if="{{seUrl_editable}}" input="text">
			<lz:block lz:if="{{srvEvent$seUrl}}">
				{{srvEvent$seUrl}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seUrl}}">
		 	<input type="text" class="input mide"  maxlength="128" name="srvEvent.seUrl" id="seUrl"  value="{{lz.htm(srvEvent.seUrl)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入系统事件的处理地址</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seUrl_readonly}}">
		 	<div class="state-input mide">
		 		<textarea class=""  style="display:none;" id="seUrl">{{srvEvent.seUrl}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEvent.seUrl$||srvEvent.seUrl)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seUrl}}
	{{lz.set("seUser_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seUser"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"seUser"))))}}
	{{lz.set("seUser_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seUser}}
	<dl lz:if="{{seUser_editable||seUser_readonly}}" class="ribs seUser  " minor  ref="seUser">
		<dt>受理人员:</dt>
		<dd lz:if="{{seUser_editable}}" input="combox">
			<lz:block lz:if="{{srvEvent$seUser}}">
				{{srvEvent$seUser}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seUser}}">
		 			<select class="combox narrow" action="/admin/permissions/user.query.do?size=255" id="seUser" name="srvEvent.seUser">
		 				<option selected="selected" value="{{lz.htm(srvEvent.seUser)}}">{{lz.htm(srvEvent.seUser$||srvEvent.seUser)}}</option>
		 			</select>
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#seUser').val())==''){return;};window.href('/admin/permissions/user.detail.do?key='+$('#seUser').val(),{ctrl:{editable:false}})"></a>
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seUser_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="seUser">{{srvEvent.seUser}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/permissions/user.details.html?key=srvEvent.seUser}')">
			 {{lz.html(srvEvent.seUser$||srvEvent.seUser)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seUser}}
	{{lz.set("seUpdateTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seUpdateTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"seUpdateTime"))))}}
	{{lz.set("seUpdateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seUpdateTime}}
	<dl lz:if="{{seUpdateTime_editable||seUpdateTime_readonly}}" class="seUpdateTime  " major  ref="seUpdateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{seUpdateTime_editable}}" input="datetime">
			<lz:block lz:if="{{srvEvent$seUpdateTime}}">
				{{srvEvent$seUpdateTime}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seUpdateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="srvEvent.seUpdateTime" id="seUpdateTime"  value="{{srvEvent.seUpdateTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择系统事件的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seUpdateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="seUpdateTime">{{srvEvent.seUpdateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEvent.seUpdateTime$||srvEvent.seUpdateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seUpdateTime}}
	{{lz.set("seAddTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seAddTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"seAddTime"))))}}
	{{lz.set("seAddTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seAddTime}}
	<dl lz:if="{{seAddTime_editable||seAddTime_readonly}}" class="seAddTime  " major  ref="seAddTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{seAddTime_editable}}" input="datetime">
			<lz:block lz:if="{{srvEvent$seAddTime}}">
				{{srvEvent$seAddTime}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seAddTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="srvEvent.seAddTime" id="seAddTime"  value="{{srvEvent.seAddTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择系统事件的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seAddTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="seAddTime">{{srvEvent.seAddTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEvent.seAddTime$||srvEvent.seAddTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seAddTime}}
	{{lz.set("seStatus_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"seStatus"))))&&false)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"seStatus"))))}}
	{{lz.set("seStatus_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$seStatus}}
	<dl lz:if="{{seStatus_editable||seStatus_readonly}}" class="seStatus  " major  ref="seStatus">
		<dt>状　　态:</dt>
		<dd lz:if="{{seStatus_editable}}" input="select">
			<lz:block lz:if="{{srvEvent$seStatus}}">
				{{srvEvent$seStatus}}
			</lz:block>
			<lz:block lz:if="{{!srvEvent$seStatus}}">
		 	<select class="narrow" id="seStatus" name="srvEvent.seStatus">
		 		<option value="">请选择</option>
				<option value="0" selected='{{srvEvent.seStatus=="0"?"selected":""}}'>默认</option>
				<option value="1" selected='{{srvEvent.seStatus=="1"?"selected":""}}'>锁定</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择系统事件的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{seStatus_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="seStatus">{{srvEvent.seStatus}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEvent.seStatus$||srvEvent.seStatus)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$seStatus}}
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{srvEvent.seId}}" name="srvEvent.seId" id="seId" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'||edittype=='inport'}}">
				<button class="button" type="submit">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/systematic/event.edit.html?edittype=update&id={{srvEvent.id}}"'>
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					修改&nbsp;&nbsp;</button>
				<button lz:if="{{canDel}}" type="button" class="button" onclick="deleteEvent('{{srvEvent.id}}','{{srvEvent.seContent}}')">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					删除&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>

 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>
	
	$(function(){
		if(parent.setit){
			parent.setit("/admin/systematic/event.edit.html",document.title,"/admin//images/icons/20088256427828778020.png");
		}
	});
	
	function cancel(){
		if(parent.closeHref){
			parent.closeHref("/admin/systematic/event.edit.html");
		}else{
			$.closeModalDialog();
		}
	}


	/**
	* 删除系统事件
	**/
	function deleteEvent(id,flag)
	{
		var dialog=top.$.dialog({
				html:"<span style='white-space:nowrap;'>确定要删除当前数据吗？</span>",
				title:"删除系统事件",
				modal: true,			
				onOk:function(){
					dialog.closeDialog();
					var url = "/admin/systematic/event.delete.do";
					var params = {id:id};
					var protocol = $.getAjax(url,params);
					if(protocol.message){
						top.$.toast(protocol.message);
					}
					if(protocol.success){
						caller.location.href=caller.location.href;		
					}
				}
		 });	
	}
</script>
</html>